<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="utf-8">
		<title>添加学生</title>
		<link rel="stylesheet" href="../layui/css/layui.css"/>
		<!-- <link rel="stylesheet" href="../css/cloudstyle.css" /> -->
		<link rel="stylesheet" href="../css/public.css" media="all">
		<link rel="stylesheet" href="../css/studentManagement.css" />
		</head>
	<body>
		<div class="layui-tab layui-tab-brief addstu-con" lay-filter="docDemoTabBrief">
		  <ul class="layui-tab-title">
		      <li class="layui-this">添加学生</li>
		      <li>批量导入学生</li>
		  </ul>
		  <div class="layui-tab-content" style="height: 100px;">
		      <div class="layui-tab-item layui-show">
				<div class="from-con" id="">
					<div style="width: 80%;">
					<form class="layui-form" action="">
						<div class="layui-form-item" style="margin-top: 10px;">
							<label class="layui-form-label">学校类型</label>
							<div class="layui-input-block">
								<select name="selschooltype" id="selschooltype" lay-filter="selschooltype" lay-event="selschooltype">
							        <option value="00">请选择学校类型</option>
							    </select>	
							</div>
						</div>
						<div class="layui-form-item" style="margin-top: 10px;">
							<label class="layui-form-label">所属学校</label>
							<div class="layui-input-block">
								<select name="selschool" id="selschool" lay-filter="selschool" lay-event="selschool" lay-verify="required">
							        <option value="00">请选择所属学校</option>
							    </select>
							</div>
						</div>
						<div class="layui-form-item" style="z-index:99">
						    <label class="layui-form-label">年级</label>
						    <div class="layui-input-block">
							    <select name="selgradename" id="selgradename" lay-filter="selgradename" lay-verify="required">
							    	<option value='00'>请选择年级</option>
								</select>
						    </div>
						</div>
						<div class="layui-form-item" style="z-index:99">
						    <label class="layui-form-label">班级</label>
						    <div class="layui-input-block">
							    <select name="classid" id="classid" lay-filter="classid" lay-verify="required">
							    	<option value='00'>请选择班级</option>
								</select>
						    </div>
						</div>
						<div class="layui-form-item" style="margin-top: 10px;">
							<label class="layui-form-label">账号</label>
							<div class="layui-input-block">
								<input id="stuid" type="text" name="stuid"  lay-verify="required" placeholder="请输入账号" class="layui-input" autocomplete="off" disabled="disabled">
							</div>
						</div>
						<div class="layui-form-item" style="display:none;">
							<label class="layui-form-label">密码</label>
							<div class="layui-input-block">
								<input id="pwd" type="text" name="pwd"  lay-verify="required" value="123456" class="layui-input" autocomplete="off">
							</div>
						</div>
					  	<div class="layui-form-item">
						    <label class="layui-form-label">真实姓名</label>
						    <div class="layui-input-block">
						      <input id="realName" type="text" name="realName" lay-verify="required" placeholder="请输入真实姓名" class="layui-input" autocomplete="off">
						    </div>
					  	</div>
					  	<div class="layui-form-item">
						    <label class="layui-form-label">性别</label>
						    <div class="layui-input-block">
						      <input type="radio" name="sex" value="男" title="男">
						      <input type="radio" name="sex" value="女" title="女" checked>
						    </div>
						</div>
						<div class="layui-form-item">
						    <label class="layui-form-label">出生日期</label>
						    <div class="layui-input-block">
						    	<input id="birthday" name="birthday" type="text" autocomplete="off" class="layui-input" placeholder="请输入出生日期" lay-verify="required">
						    </div>
						</div>
					  	<div class="layui-form-item">
						    <div class="layui-input-block" style="float: right; margin-top: 0px;">
						      <button id="btnaddstu" type="button" class="layui-btn layui-bg-blue" lay-submit="" lay-filter="btnaddstu"> 保  存  </button>
						    </div>
					  	</div>
					</form>
					</div>
				</div>
			</div>
			<div class="importStudent layui-tab-item">
				<div class="layui-block importStudent-con">
					<form class="layui-form" action="">
						<div class="layui-form-item">
							<div class="layui-input-inline">
							    <select name="stage" id="stage" lay-filter="stage">
							    	<option value=''>请选择阶段</option>
								</select>
							</div>
							<div class="layui-input-inline">
							    <select name="school" id="school" lay-filter="school">
							    	<option value=''>请选择学校</option>
								</select>
							</div>
							<div class="layui-input-inline">
							    <select name="grade" id="grade" lay-filter="grade">
							    	<option value=''>请选择年级</option>
								</select>
							</div>
							<div class="layui-input-inline">
							    <select name="classname" id="classname" lay-filter="classname">
							    	<option value=''>请选择班级</option>
								</select>
							</div>
							<button type="button" class="layui-btn layui-btn-normal leftbtn" id="btnselExcel">
								<i class="layui-icon"></i>选择Excel文件
							</button>
							<button type="button" class="layui-btn layui-btn-normal leftbtn" id="selExcel" style="display: none;">
								<i class="layui-icon"></i>选择Excel文件
							</button>
							
							<button type="button" class="layui-btn layui-btn-normal savebtn layui-disabled" disabled="disabled" lay-submit="" lay-filter="demo1" id="saveStuList">保存</button>
							<!-- <a href="/upload/templateDownload/学生信息表.xls" class="layui-btn layui-btn-primary rightbtn">下载模板</a> -->
							<button type="button" class="layui-btn layui-btn-primary rightbtn" lay-submit="" lay-filter="downloadteacher" id="downloadteacher">下载模板</button>
						</div>
					</form>
				</div>
				<table class="layui-hide" id="teacher"></table>
			</div>
		  </div>
		</div>
		
		<script src="../js/jquery-3.3.1.js"></script>
		<script src="../layui/layui.all.js"></script>
		<script src="../js/public_changeschool.js"></script>
		<script src="../js/until/loading.js"></script>
		<script src="../js/studentManagement/addStudent.js"></script>
	</body>
</html>
